package servlet_casa_test;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class HomePageTest {

	@Before
	public void setUp() throws Exception {
		this.home=new homePage();
	}

	@After
	public void tearDown() throws Exception {
	}
	
	@Test
	public final void testGetDone() {

		//mi aspetto che restituisca false
		assertFalse(this.home.getDone());
	}
	
	@Test
	public final void testSetDone() {
		this.home.setDone(true);
		assertTrue(this.home.getDone());
		
	}

	
	private homePage home;
}
